<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改法院信息')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-vo-edit" th:object="${vo}">
            <input name="caseId" th:field="*{caseId}" type="hidden">
            <div class="form-group">
                <label class="col-sm-3 control-label">案件案号：</label>
                <div class="col-sm-8">
                    <input name="caseNo" th:field="*{caseNo}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">案件标的额：</label>
                <div class="col-sm-8">
                    <input name="caseAmount" th:field="*{caseAmount}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">法院名称：</label>
                <div class="col-sm-8">
                    <input name="courtName" th:field="*{courtName}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">法院地址：</label>
                <div class="col-sm-8">
                    <input name="courtAddr" th:field="*{courtAddr}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">审理法官：</label>
                <div class="col-sm-8">
                    <input name="judger" th:field="*{judger}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">法官联系方式：</label>
                <div class="col-sm-8">
                    <input name="judgerTel" th:field="*{judgerTel}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">备注：</label>
                <div class="col-sm-8">
                    <input name="remark" th:field="*{remark}" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "biz/caseinfo/court";
        $("#form-vo-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-vo-edit').serialize());
            }
        }
    </script>
</body>
</html>